/**
 * 
 */

module game {

    export class LoginPanel extends eui.Component {
        public okBtn: eui.Group;
        public showText: eui.Label;


        public constructor() {
            super();
            this.addEventListener(eui.UIEvent.COMPLETE, this.createCompleteEvent, this);
            this.skinName = "LoginSkin";
            BtnTool.btnSMin(this.okBtn);
        }

        public createCompleteEvent(event: eui.UIEvent): void {
            this.removeEventListener(eui.UIEvent.COMPLETE, this.createCompleteEvent, this);
            // game.AppFacade.getInstance().registerMediator( new RoleMediator(this) );
        }

        public updateView(data){
            
        }


        public partAdded(partName: string, instance: any): void {
            super.partAdded(partName, instance);
        }
    }
}